Jethro Logger for KoaJS. Extends Jethro to log KoaJS requests.
npm install --save jethro thedark1337/jethro-koa
This project utilizes Mocha and ESLint to test the code style of the project.
Just run the command npm test
and make sure it passes
'use strict';
const Koa = require('koa');
const app = module.exports = new Koa();
const Jethro = require('jethro');
const logger = new Jethro();
const KoaLogger = require('jethro-koa');
const requestLogger = new KoaLogger();
logger.addPlugin('koa', requestLogger);
app.use(koaLogger.input());
Licensed under the LGPL v3 License
Copyright (C) 2015 Alex Pham (known as Thedark1337)
You can find full license here.